package com.wyl.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wyl.auth.dto.SysDictTypeDto;
import com.wyl.auth.entity.SysDictType;
import com.wyl.auth.req.SysDictTypeReq;
import com.wyl.auth.vo.SysDictTypeVo;
import com.wyl.common.CommonPage;

import java.util.List;

/**
* @Description 字典类型表
* @Author WuYiLong
* @Date 2025-04-27
*/
public interface SysDictTypeService extends IService<SysDictType> {

    /**
     * 保存
     * @param dto
     * @return
     */
    void save(SysDictTypeDto dto);

    /**
     * 分页
     * @param req
     * @return
     */
    CommonPage<SysDictTypeVo> page(SysDictTypeReq req);

    /**
     * 根据id删除
     * @param ids
     */
    void deleteByIds(List<Long> ids);


}
